<%--
  Created by IntelliJ IDEA.
  User: lijiawang1
  Date: 2017/4/24
  Time: 15:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>ShowCoupon</title>
</head>
<body>
               <table cellpadding="10" cellspacing="5">
                   <tr>
                       <td>couponid(主键)</td>
                       <td>coupvalue(面值)</td>
                       <td>coupnum(数量)</td>
                       <td>conintegral(兑换积分)</td>
                       <td>validtime(有效时间)</td>
                       <td>minusprice(满减价格)</td>
                       <td>Edit</td>
                   </tr>

                   <c:forEach items="${sessionScope.AllCouponInfo}" var="Cou" >
                       <tr>
                           <td>
                               ${Cou.couponid}
                           </td>
                           <td>${Cou.coupvalue}</td>
                           <td>${Cou.coupnum}</td>
                           <td>${Cou.conintegral}</td>
                           <td>${Cou.validtime}</td>
                           <td>${Cou.minusprice}</td>
                           <td>
                               <a href="DeleteCouponInfo?id=${Cou.couponid}">Delete</a>
                           </td>
                           <td>
                               <a href="Update?id=${Cou.couponid}">修改</a>
                           </td>
                       </tr>
                   </c:forEach>
               </table>
</body>
</html>
